package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;


/**
 * 疾病分类对象 DiseaseCategory
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("DiseaseCategory")
@ApiModel(value = "DiseaseCategory对象", description = "疾病分类")
public class DiseaseCategory implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 分类编码
     */
    @Excel(name = "分类编码")
    @ApiModelProperty("分类编码")
    @TableField("DiseaseCode")
    private String DiseaseCode;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    @ApiModelProperty("分类名称")
    @TableField("DiseaseName")
    private String DiseaseName;

    /**
     * 显示顺序号
     */
    @ApiModelProperty("显示顺序号")
    @TableField("SequenceNo")
    private Long SequenceNo;

    /**
     * 删除标记
     */
    @ApiModelProperty("删除标记")
    @TableField("DelMark")
    private Long DelMark;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("DiseaseCode")
    public String getDiseaseCode() {
        return DiseaseCode;
    }

    public void setDiseaseCode(String DiseaseCode) {
        this.DiseaseCode = DiseaseCode;
    }

    @JsonProperty("DiseaseName")
    public String getDiseaseName() {
        return DiseaseName;
    }

    public void setDiseaseName(String DiseaseName) {
        this.DiseaseName = DiseaseName;
    }

    @JsonProperty("SequenceNo")
    public Long getSequenceNo() {
        return SequenceNo;
    }

    public void setSequenceNo(Long SequenceNo) {
        this.SequenceNo = SequenceNo;
    }

    @JsonProperty("DelMark")
    public Long getDelMark() {
        return DelMark;
    }

    public void setDelMark(Long DelMark) {
        this.DelMark = DelMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("DiseaseCode", getDiseaseCode())
                .append("DiseaseName", getDiseaseName())
                .append("SequenceNo", getSequenceNo())
                .append("DelMark", getDelMark())
                .toString();
    }
}

